package cn.xfdzx.android.apps.shop.contract;

import java.util.HashMap;

import cn.xfdzx.android.apps.shop.base.BaseView;
import cn.xfdzx.android.apps.shop.bean.AddAddressBeen;
import cn.xfdzx.android.apps.shop.bean.Qc_StoreBean;
import cn.xfdzx.android.apps.shop.bean.Qc_StoreListBean;
import cn.xfdzx.android.apps.shop.bean.Ruzhu_StepBean;
import cn.xfdzx.android.apps.shop.bean.Store_ruzhuBean;
import io.reactivex.Flowable;


/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */

public interface Qc_shopContract {
    interface Model {
        Flowable<Qc_StoreBean> getStoreInfo(String store_id, int sale_modle);
        Flowable<Qc_StoreListBean> getStoreList( HashMap<String,Object> map);
    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);
        void forQcStoreInfor(Qc_StoreBean bean);

        void forQcStoreList(Qc_StoreListBean bean);
    }

    interface Presenter {
        /**
         *
         */
        void getQcStoreInfor(String store_id,int type);
        void getQcStoreList(HashMap<String,Object> map);
    }
}
